﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AppManage.Data.Items;
using AppManage.Data.Modules;
using AppManage.Infrastructure.Entity;

namespace AppManage.Data.Functions
{
    public class Function : FullEntity
    {
        public Function()
        {
            this.Items = new List<Item>();
        }
        public string FunctionName { get; set; }

        public Nullable<int> ModuleId { get; set; }

        public Module Module { get; set; }

        public string Action { get; set; }

        public string Description { get; set; }

        public Nullable<bool> IsActive { get; set; }

        public string DisplayName { get; set; }

        public string Icon { get; set; }

        public virtual ICollection<Item> Items { get; set; }

    }
}
